package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考生成绩汇总对象 v_sum_application_result
 * 
 * @author ruoyi
 * @date 2024-12-15
 */
public class VSumApplicationResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 姓名 */
    @Excel(name = "身份证号码")
    private String idCardNumber;


    /** 报考年份 */
    @Excel(name = "报考年份")
    private String years;

    /** 准考证号 */
    @Excel(name = "准考证号")
    private String examId;

    /** 报考科数 */
    @Excel(name = "报考科数")
    private Long applicationCount;

    /** 有成绩科数 */
    @Excel(name = "有成绩科数")
    private Long scoreCount;

    /** 有成绩科数 */
    @Excel(name = "未通过/弃考科数")
    private Long failCount;


    /** 平均成绩 */
    @Excel(name = "平均成绩")
    private BigDecimal averagescore;

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setYears(String years) 
    {
        this.years = years;
    }

    public String getYears() 
    {
        return years;
    }

    public void setExamId(String examId) 
    {
        this.examId = examId;
    }

    public String getExamId() 
    {
        return examId;
    }

    public void setApplicationCount(Long applicationCount) 
    {
        this.applicationCount = applicationCount;
    }

    public Long getApplicationCount() 
    {
        return applicationCount;
    }

    public void setScoreCount(Long scoreCount) 
    {
        this.scoreCount = scoreCount;
    }

    public Long getScoreCount() 
    {
        return scoreCount;
    }

    public void setAveragescore(BigDecimal averagescore) 
    {
        this.averagescore = averagescore;
    }

    public BigDecimal getAveragescore() 
    {
        return averagescore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("name", getName())
            .append("idCardNumber", getIdCardNumber())
            .append("years", getYears())
            .append("examId", getExamId())
            .append("applicationCount", getApplicationCount())
            .append("scoreCount", getScoreCount())
            .append("failCount", getFailCount())
            .append("averagescore", getAveragescore())
            .toString();
    }

    public Long getFailCount() {
        return failCount;
    }

    public void setFailCount(Long failCount) {
        this.failCount = failCount;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }
}
